package com.sjd.mall.domain.dto.account;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @ProjectName: sjd
 * @Package: com.sjd.protal.account.domain.dto
 * @ClassName: CreateRechargeOrderRequestDTO
 * @Author: genglong
 * @Description: 充值请求实体
 * @Date: 2022/1/11 13:48
 * @Version: 1.0
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
public class CreateRechargeOrderRequestDTO {
    /**
     * 订单金额
     */
    @NotNull(message = "订单金额不能为空")
    private BigDecimal orderAmount;

    /**
     * 订单金额
     */
    @NotNull(message = "实付金额不能为空")
    private BigDecimal rechargeAmount;

    /**
     * 订单金额
     */
    @NotNull(message = "优惠金额不能为空")
    private BigDecimal discountAmount;
}
